﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint"
      Title="$Resources:SPPOBManagementListDefName"
      FolderCreation="FALSE"
      Direction="$Resources:Direction;"
      Url="Lists/SPPOBManage"
      EnableContentTypes="FALSE"
      BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x010035baaff4ff6e407ca7b8f42991f69e3d"
        Name="$Resources:SPPOBDownloadContentTypeName" Sealed="TRUE" ReadOnly="TRUE"
        Description="This is DownloadItemContentType for SharePointPOBox."
        Group="Custom Content Types" Hidden="TRUE" Inherits="TRUE" Version="0">
        <FieldRefs>
          <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
            Name="Title" DisplayName="$Resources:SPPOBDownloadContentTypeTitleColumnDispName" ShowInEditForm="FALSE" />
          <FieldRef ID="{60aace62-12d3-4d2f-9eab-37abce563b68}"
            Name="DownloadKey" DisplayName="$Resources:SPPOBDownloadContentTypeDownloadKeyColumnDispName" ShowInEditForm="FALSE" />
          <FieldRef ID="{e4e524a9-115b-44f4-a05a-e45b2cf64677}"
            Name="Password" DisplayName="$Resources:SPPOBDownloadContentTypePasswordColumnDispName" ShowInEditForm="FALSE" />
          <FieldRef ID="{80841b1a-6070-47fd-851d-e7d86822e970}"
            Name="DownloadDeadline" DisplayName="$Resources:SPPOBDownloadContentTypeDownloadDeadlineColumnDispName" />
          <FieldRef ID="{3226a667-a351-43b4-967d-b8e90b49eb2d}"
            Name="Purpose" DisplayName="$Resources:SPPOBDownloadContentTypePurposeColumnDispName" />
          <FieldRef ID="{94942392-9208-4507-aa70-05019331be94}"
            Name="DownloadLimit" DisplayName="$Resources:SPPOBDownloadContentTypeDownloadLimitColumnDispName" />
          <FieldRef ID="{c5aa8c7e-4692-40e4-b853-30c9c3883306}"
            Name="FileUrl" DisplayName="$Resources:SPPOBDownloadContentTypeFileUrlColumnDispName" ShowInEditForm="FALSE" />
        </FieldRefs>
      </ContentType>
      <ContentType ID="0x010032b55198c81842c48b019947c06f29f3"
        Name="$Resources:SPPOBVendedUploadTicketContentTypeName" Sealed="TRUE" ReadOnly="TRUE"
        Description="This is VendedUploadTicketContentType for SharePointPOBox."
        Group="Custom Content Types" Hidden="TRUE" Inherits="TRUE" Version="0">
        <FieldRefs>
          <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
            Name="Title" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypeTitleColumnDispName" ShowInEditForm="FALSE"
		    Description="$Resources:SPPOBVendedUploadTicketContentTypeTitleColumnDescription"/>
          <FieldRef ID="{7d7faec2-e61b-4b57-bcd6-ed602727f212}"
            Name="UploadTicket" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypeUploadTicketColumnDispName" ShowInEditForm="FALSE" />
          <FieldRef ID="{e4e524a9-115b-44f4-a05a-e45b2cf64677}"
            Name="Password" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypePasswordColumnDispName" ShowInEditForm="FALSE" />
          <FieldRef ID="{1b826ed0-9fd9-485d-82cc-e607722b57fe}"
            Name="UploadDeadline" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypeUploadDeadlineColumnDispName" />
          <FieldRef ID="{3226a667-a351-43b4-967d-b8e90b49eb2d}"
            Name="Purpose" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypePurposeColumnDispName" />
          <FieldRef ID="{afbb4dce-9e5c-4b5d-bf56-b3feb3e10961}"
            Name="IsAlreadyUpload" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypeIsAlreadyUploadColumnDispName" ShowInEditForm="FALSE" />
          <FieldRef ID="{c5aa8c7e-4692-40e4-b853-30c9c3883306}"
            Name="FileUrl" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypeFileUrlColumnDispName" ShowInEditForm="FALSE" />
        </FieldRefs>
      </ContentType>
    </ContentTypes>
    <Fields>
      <Field Name="Password" DisplayName="Password" StaticName="Password" Type="Text" ID="{e4e524a9-115b-44f4-a05a-e45b2cf64677}" Required="FALSE" ReadOnly="FALSE" Sortable="FALSE" Group="Custom Columns" MaxLength="255" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="Purpose" DisplayName="Purpose" StaticName="Purpose" Type="Text" ID="{3226a667-a351-43b4-967d-b8e90b49eb2d}" Required="FALSE" ReadOnly="FALSE" Sortable="FALSE" Group="Custom Columns" MaxLength="255" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="FileUrl" DisplayName="File url" StaticName="FileUrl" Type="URL" ID="{c5aa8c7e-4692-40e4-b853-30c9c3883306}" Required="FALSE" ReadOnly="FALSE" Sortable="FALSE" Group="Custom Columns" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="DownloadKey" DisplayName="Download Key" StaticName="DownloadKey" Type="Text" ID="{60aace62-12d3-4d2f-9eab-37abce563b68}" Required="FALSE" ReadOnly="FALSE" Sortable="TRUE" Group="Custom Columns" Indexed="TRUE" MaxLength="255" Hidden="FALSE" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="DownloadDeadline" DisplayName="DL time limit" StaticName="DownloadDeadline" Type="DateTime" ID="{80841b1a-6070-47fd-851d-e7d86822e970}" Required="FALSE" ReadOnly="FALSE" Sortable="TRUE" Group="Custom Columns" Format="DateOnly" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="DownloadLimit" DisplayName="DownloadLimit" StaticName="DownloadLimit" Type="Integer" ID="{94942392-9208-4507-aa70-05019331be94}" Required="FALSE" ReadOnly="FALSE" Sortable="FALSE" Group="Custom Columns" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="UploadTicket" DisplayName="UploadTicket" StaticName="UploadTicket" Type="Text" ID="{7d7faec2-e61b-4b57-bcd6-ed602727f212}" Required="FALSE" ReadOnly="FALSE" Sortable="FALSE" Group="Custom Columns" Indexed="TRUE" MaxLength="255" ShowInListSettings="FALSE" AllowDeletion="FALSE" /> 
      <Field Name="UploadDeadline" DisplayName="Ticket Expire" StaticName="UploadDeadline" Type="DateTime" ID="{1b826ed0-9fd9-485d-82cc-e607722b57fe}" Required="FALSE" ReadOnly="FALSE" Sortable="TRUE" Group="Custom Columns" Format="DateOnly" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
      <Field Name="IsAlreadyUpload" DisplayName="IsAlreadyUpload" StaticName="IsAlreadyUpload" Type="Boolean" ID="{afbb4dce-9e5c-4b5d-bf56-b3feb3e10961}" Required="FALSE" ReadOnly="FALSE" Sortable="TRUE" Group="Custom Columns" ShowInListSettings="FALSE" AllowDeletion="FALSE" />
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:SPPOBDownloadContentTypeListViewTitle" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Title" />
          <FieldRef Name="FileUrl" />
          <FieldRef Name="Purpose" />
          <FieldRef Name="DownloadDeadline" />
		    </ViewFields>
        <Query>
          <Where>
            <BeginsWith>
              <FieldRef Name="ContentTypeId" />
              <Value Type="Text">0x010035baaff4ff6e407ca7b8f42991f69e3d</Value>
            </BeginsWith>
          </Where>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="2" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:SPPOBVendedUploadTicketContentTypeListViewTitle" DefaultView="False" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/images/generic.png" Url="VendedTickets.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="Title" />
          <FieldRef Name="FileUrl" />
          <FieldRef Name="Purpose" />
          <FieldRef Name="UploadDeadline" />
        </ViewFields>
        <Query>
          <Where>
            <BeginsWith>
              <FieldRef Name="ContentTypeId" />
              <Value Type="Text">0x010032b55198c81842c48b019947c06f29f3</Value>
            </BeginsWith>
          </Where>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>